package com.genreate.util.jtk.backgroundService;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 事件信息列表
 * 
 * @author jtkj
 * @date 2025-01-02
 */
@Schema(name = "EventsListByStatusRes", description = "事件信息列表")
public class EventsListByStatusRes
{
    private static final long serialVersionUID = 1L;

    @Schema(name = "id", description = "事件id")
    private Long id;
    @Schema(name = "no", description = "事件编码")
    private String no;
    @Schema(name = "title", description = "事件名称/名称")
    private String title;
    @Schema(name = "type", description = "事件类型,去事件类型的id")
    private String type;
    @Schema(name = "level", description = "事件等级1,2,3,4")
    private String level;
    @Schema(name = "occurrenceTime", description = "事发时间")
    private Long occurrenceTime;
    @Schema(name = "responseLevel", description = "响应等级")
    private String responseLevel;
    @Schema(name = "position", description = "事件位置")
    private String position;
    @Schema(name = "userId", description = "上报人 id")
    private String userId;
    @Schema(name = "userName", description = "上报人 姓名")
    private String userName;
    @Schema(name = "phone", description = "联系方式")
    private String phone;
    @Schema(name = "reportTime", description = "上报时间(时间戳)")
    private Long reportTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Long getOccurrenceTime() {
        return occurrenceTime;
    }

    public void setOccurrenceTime(Long occurrenceTime) {
        this.occurrenceTime = occurrenceTime;
    }

    public String getResponseLevel() {
        return responseLevel;
    }

    public void setResponseLevel(String responseLevel) {
        this.responseLevel = responseLevel;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getReportTime() {
        return reportTime;
    }

    public void setReportTime(Long reportTime) {
        this.reportTime = reportTime;
    }

    @Override
    public String toString() {
        return "EventsListByStatusRes{" +
                "id=" + id +
                ", no='" + no + '\'' +
                ", title='" + title + '\'' +
                ", type='" + type + '\'' +
                ", level='" + level + '\'' +
                ", occurrenceTime=" + occurrenceTime +
                ", responseLevel='" + responseLevel + '\'' +
                ", position='" + position + '\'' +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", phone='" + phone + '\'' +
                ", reportTime=" + reportTime +
                '}';
    }
}
